/*
 * Copyright (c) 2012. The Genome Analysis Centre, Norwich, UK
 * MISO project contacts: Robert Davey, Mario Caccamo @ TGAC
 * *********************************************************************
 *
 * This file is part of MISO.
 *
 * MISO is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * MISO is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with MISO.  If not, see <http://www.gnu.org/licenses/>.
 *
 * *********************************************************************
 */

package uk.ac.bbsrc.tgac.miso.core.service.integration.ws.solid;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for libraryInfo complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="libraryInfo">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="allPrimaryAnalysisResults" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="allSecondaryAnalysisResults" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="latestPrimaryAnalysisResults" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="latestSecondaryAnalysisResults" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="xml" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "libraryInfo", propOrder = {
    "allPrimaryAnalysisResults",
    "allSecondaryAnalysisResults",
    "latestPrimaryAnalysisResults",
    "latestSecondaryAnalysisResults",
    "name",
    "xml"
})
public class LibraryInfo {

    @XmlElement(nillable = true)
    protected List<String> allPrimaryAnalysisResults;
    @XmlElement(nillable = true)
    protected List<String> allSecondaryAnalysisResults;
    @XmlElement(nillable = true)
    protected List<String> latestPrimaryAnalysisResults;
    @XmlElement(nillable = true)
    protected List<String> latestSecondaryAnalysisResults;
    protected String name;
    protected String xml;

    /**
     * Gets the value of the allPrimaryAnalysisResults property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the allPrimaryAnalysisResults property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getAllPrimaryAnalysisResults().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link String }
     * 
     * 
     */
    public List<String> getAllPrimaryAnalysisResults() {
        if (allPrimaryAnalysisResults == null) {
            allPrimaryAnalysisResults = new ArrayList<String>();
        }
        return this.allPrimaryAnalysisResults;
    }

    /**
     * Gets the value of the allSecondaryAnalysisResults property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the allSecondaryAnalysisResults property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getAllSecondaryAnalysisResults().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link String }
     * 
     * 
     */
    public List<String> getAllSecondaryAnalysisResults() {
        if (allSecondaryAnalysisResults == null) {
            allSecondaryAnalysisResults = new ArrayList<String>();
        }
        return this.allSecondaryAnalysisResults;
    }

    /**
     * Gets the value of the latestPrimaryAnalysisResults property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the latestPrimaryAnalysisResults property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getLatestPrimaryAnalysisResults().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link String }
     * 
     * 
     */
    public List<String> getLatestPrimaryAnalysisResults() {
        if (latestPrimaryAnalysisResults == null) {
            latestPrimaryAnalysisResults = new ArrayList<String>();
        }
        return this.latestPrimaryAnalysisResults;
    }

    /**
     * Gets the value of the latestSecondaryAnalysisResults property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the latestSecondaryAnalysisResults property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getLatestSecondaryAnalysisResults().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link String }
     * 
     * 
     */
    public List<String> getLatestSecondaryAnalysisResults() {
        if (latestSecondaryAnalysisResults == null) {
            latestSecondaryAnalysisResults = new ArrayList<String>();
        }
        return this.latestSecondaryAnalysisResults;
    }

    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the value of the name property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }

    /**
     * Gets the value of the xml property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getXml() {
        return xml;
    }

    /**
     * Sets the value of the xml property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setXml(String value) {
        this.xml = value;
    }

}
